Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor events and create new Mixin-Class for events #836

Merged
merged 7 commits into from
May 11, 2021

Conversation

Falke-Design
Copy link
Collaborator

After refactoring 90 direct calls minified to 36 on _fireEvent.

Now we can be sure, that every event pass the same arguments.

Copy link
Collaborator Author

@Falke-Design Falke-Design left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One Mixin for all. Only one event exists centerplaced -> same payload for edit and draw. Events that have undefined arguments, need to be explained why.

Description for event.

Add source from where event is fired

Add a arguement custom Payload and merge it with the current one

@Falke-Design
Copy link
Collaborator Author

TODO: Add new Events f.ex. Rotation - merge first all other PRs

@codeofsumit codeofsumit merged commit b1aeae9 into geoman-io:develop May 11, 2021
@Falke-Design Falke-Design deleted the refactor_events branch June 5, 2021 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants